<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function Person(firstName, lastName) {
            this.firstName = firstName
            this.lastName = lastName
        }

        const lydia = new Person('Lydia', 'Hallie')
        const sarah = Person('Sarah', 'Smith')

        console.log(lydia)
        console.log(sarah)


    </script>
</body>

</html>